import request from '../utils/request.js';
// 交易统计
export function GroupProcureStatistics(data){
	return request({
		url:'/GroupProcureStatistics',
		data,
	})
}
// 采购 未登录
export function GroupSeekProcureAll(data){
	return request({
		url:'/getGroupSeekProcureAll',
		method:'POST',
		data,
	})
}
// 采购 登录后
export function GroupSeekProcureAllAction(data){
	return request({
		url:'/getGroupSeekProcureAllAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
// 供应 未登录
export function GroupProcureAll(data){
	return request({
		url:'/getGroupProcureAll',
		method:'POST',
		data,
	})
}
// 供应 登录后
export function GroupProcureAllAction(data){
	return request({
		url:'/getGroupProcureAllAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
// 供应明细
export function GroupProcureID(data){
	return request({
		url:'/getGroupProcureID',
		method:'POST',
		data,
	})
}
//查询采购订单
export function getGroupSeekProcureID(data){
	return request({
		url:'/getGroupSeekProcureID',
		method:'POST',
		data,
	})
}
//查询采购订单
export function getGroupSeekProcureIDAction(data){
	return request({
		url:'/getGroupSeekProcureIDAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
// 客服消息历史记录
export function GroupServesHistory(data){
	return request({
		url:'/GroupServesHistory',
		method:'POST',
		data,
	})
}
// 检查供应库存
export function GroupCheckStockAction(data){
	return request({
		url:'/GroupCheckStockAction',
		method:'POST',
		data,
	})
}
// 检查采购库存
export function GroupSeekCheckStockAction(data){
	return request({
		url:'/GroupSeekCheckStockAction',
		method:'POST',
		data,
	})
}
// 查看供应订单对应支付
export function TransactionPaystagesID(data){
	return request({
		url:'/TransactionPaystagesID?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//调取微信支付二维码
export function GroupWeChatNativeAction(data){
	return request({
		url:'/GroupWeChatNativeAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//供应大厅下单生成付款表
export function setGroupTransactionAction(data){
	return request({
		url:'/setGroupTransactionAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//验证电子汇账上传图片
export function ElectronicPIC(data){
	return request({
		url:'/ElectronicPIC?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//电子汇账上传图片提交
export function GroupElectronicRemittance(data){
	return request({
		url:'/GroupElectronicRemittance?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//供应确认收货
export function GroupTransactionStateAction(data){
	return request({
		url:'/GroupTransactionStateAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//我的寄售通过
export function GroupTransactionExamineAction(data){
	return request({
		url:'/GroupTransactionExamineAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//我的采购申请记录通过
export function GroupSeekTransactionExamineAction(data){
	return request({
		url:'/GroupSeekTransactionExamineAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//我的采购支付阶段详情
export function SeekTransactionPaystagesID(data){
	return request({
		url:'/SeekTransactionPaystagesID?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//我的采购支付阶段详情
export function GroupSeekElectronicRemittance(data){
	return request({
		url:'/GroupSeekElectronicRemittance?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
export function setGroupSeekTransactionAction(data){
	return request({
		url:'/setGroupSeekTransactionAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//采购确认收货
export function GroupSeekTransactionStateAction(data){
	return request({
		url:'/GroupSeekTransactionStateAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//查询上架商品
export function GroupGoodsAll(data){
	return request({
		url:'/getGroupGoodsAll',
		method:'POST',
		data,
	})
}
//好货推荐详情
export function getGroupGoodsDetail(data){
	return request({
		url:'/getGroupGoodsDetail',
		method:'POST',
		data,
	})
}
//订单融资申请合同
export function getOrderFinancingAll(data){
	return request({
		url:'/getOrderFinancingAll',
		method:'POST',
		data,
	})
}
//订单融资合同管理
export function getFinancingContractAll(data){
	return request({
		url:'/getFinancingContractAll',
		method:'POST',
		data,
	})
}
//查看订单融资拒绝原因
export function getRefuseIDAction(data){
	return request({
		url:'/getRefuseIDAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//查看采购信息
export function getGroupMessageAllAction(data){
	return request({
		url:'/getGroupMessageAllAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//查看摘牌信息
export function getGroupSeekMessageAllAction(data){
	return request({
		url:'/getGroupSeekMessageAllAction?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//获取员工列表
export function getSystemUserID(data){
	return request({
		url:'/getSystemUserID?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//个人中心浏览记录
export function GroupBrowsingAll(data){
	return request({
		url:'/GroupBrowsingAll?token='+uni.getStorageSync('token'),
		method:'POST',
		data,
	})
}
//溯源地图
export function getMap(data){
	return request({
		url:'/getJsonInquiry',
		data,
	})
}